<!--
 * @Author: Liyiqi
 * @LastEditor: Liyiqi
 * @Date: 2020-05-08 09:51:02
 * @LastEditTime: 2020-08-10 10:49:13
 * @Description: 订单detail组件
-->
<template>
  <div class="detailBoxStyle">
    <el-card class="box-card" shadow="never">
      <div slot="header" class="clearfix">
        <slot name="header"></slot>
      </div>
      <slot name="content"></slot>
    </el-card>
  </div>
</template>
<script>
export default {
  name: 'DetailBox'
}
</script>
<style lang="scss" scoped>
.detailBoxStyle {
  margin-top: 10px;
  margin-bottom: 10px;
  &:first-child {
    margin-top: 0;
  }
  .box-card {
    width: 100%;
    border-radius: 0;
    border-color: #E3E3E3;
    max-height: 650px;
    overflow-y: auto;
  }
  /deep/ .el-card__header {
    background-color: #F4F4F4;
    height: 50px;
    width: 100%;
  }
  .el-tabs {
    margin-bottom: 10px;
  }
  .item {
    margin-bottom: 18px;
  }
  .clearfix {
    font-weight: bold;
  }
  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }
  .clearfix:after {
    clear: both;
  }
}
</style>
